/**
 * Created by liuzengrong on 2019/8/18.
 */
// @ts-ignore
import modelExtend from 'dva-model-extend';
import BaseModel from '@/components/hyperspace/modules/StandardModule/model';

// @ts-ignore

const Model = {
  namespace: 'insurance',

  state: {
    modalVisible: false,
  },
  effects: {

  },
  reducers: {
    /**
     * 刷新state
     *
     * @param state
     */
    // @ts-ignore
    refreshState(state :any, { payload }) {
      return { ...state, ...payload };
    },
  },

};

export default modelExtend(BaseModel, Model);
